
using System.Configuration;
using DSC;
namespace Bussiness.Config
{
    public class ConnectionConfig
    {
        public static string ConnectionString = @"server=" + ConfigurationManager.AppSettings["SERVER"] + ";database=" + ConfigurationManager.AppSettings["DATABASE"] + ";uid=" + Encrypt.FDecrypt(ConfigurationManager.AppSettings["UserName"]) + ";pwd=" + Encrypt.FDecrypt(ConfigurationManager.AppSettings["Password"]) + ";Connection Timeout="+ConfigurationManager.AppSettings["timeout"];
        //public static string ConnectionString = @"server=" + ConfigurationManager.AppSettings["SERVER"] + ";database=" + ConfigurationManager.AppSettings["DATABASE"] + ";uid=sa;pwd=123";
    }
}